package com.kaili.quartz;


import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

@ComponentScan(basePackages={"com.kaili.quartz"})
@EnableDiscoveryClient
@SpringBootApplication
@ImportResource("quartz.xml")
public class Quartz {
	public static void main(String[] args) {
		new SpringApplicationBuilder(Quartz.class).web(true).run(args);
	}
}

